package rs.ac.uns.ftn.informatika.mbs2.e11031.etaksi.entitet;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@SuppressWarnings("serial")
@Embeddable
public class Tacka implements Serializable {

	@Column
	private Float x;

	@Column
	private Float y;

	@Column
	private String adresa;

	public Float getX() {
		return x;
	}

	public void setX(Float x) {
		this.x = x;
	}

	public Float getY() {
		return y;
	}

	public void setY(Float y) {
		this.y = y;
	}

	public String getAdresa() {
		return adresa;
	}

	public void setAdresa(String adresa) {
		this.adresa = adresa;
	}

	public Tacka() {
		super();
	}

	@Override
	public String toString() {
		return "Tacka [x=" + x + ", y=" + y + ", adresa=" + adresa + "]";
	}
}
